package com.wy2cloud.authorize.entity;

import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;



/** 
 * AuthorizeAuthority 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年04月04日 14:42:42
 *
 */
@Table(name="authorize_authority")
@Entity
public class AuthorizeAuthority implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String name;
	private String description;
	private String url;
	private String pid;
	private String authorityType;
	
	@Override
	public String toString(){
		return "id:"+this.id+","+"name:"+this.name+","+"description:"+this.description+","+"url:"+this.url+","+"pid:"+this.pid+","+"authorityType:"+this.authorityType;
	}
	

	
	@Id
	@Column(name = "id") 
	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}	

	
	@Column(name = "name") 
	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}	

	
	@Column(name = "description") 
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String value) {
		this.description = value;
	}	

	
	@Column(name = "url") 
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String value) {
		this.url = value;
	}	

	
	@Column(name = "pid") 
	public String getPid() {
		return this.pid;
	}

	public void setPid(String value) {
		this.pid = value;
	}	

	
	@Column(name = "authority_type") 
	public String getAuthorityType() {
		return this.authorityType;
	}

	public void setAuthorityType(String value) {
		this.authorityType = value;
	}	
}